package com.woniuxy.ticketorder.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName OrderDto
 * @Description TODO
 * @Author zx
 * @Date 2021-02-27 10:06:56
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDto implements Serializable {

    @NotNull(message = "userid不能为空")
    private int userid;

    @NotNull(message = "money不能为空")
    private Double money;

    @NotNull(message = "cinema不能为空")
    private String cinema;

    @NotNull(message = "hall不能为空")
    private String hall;

    @NotNull(message = "seat不能为空")
    private String seat;

    @NotNull(message = "status不能为空")
    private String status;
    
}
